package com.cms.recursoshumanos.facade;

import com.cms.recursoshumanos.constant.Constant;
import com.cms.recursoshumanos.handler.WServiceCall;
import com.cms.recursoshumanos.json.me.JSONParser;

public class PlanillaCartaTrabajoFacade 
{
	private String strUsername;
	private String strPass;
	
	
	public PlanillaCartaTrabajoFacade(String user,String password)
	{
		this.strUsername = user;
		this.strPass = password;
	}

	public String enviarSolicitud()
	{
		 
		JSONParser jParser = new JSONParser();
		return jParser.
						setPetitionToUrl(
								Constant.URL_WEBSERVICE, 
								WServiceCall.getInstance().setSolicitudCartaTrabajo(strUsername, strPass));

	}

	
	public String setValores(String strResult)
	{
		return strResult;
		
	}
	

	
	
}

